package com.oocl.o2o.client.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.oocl.o2o.client.dao.FoodTypeDao;
import com.oocl.o2o.client.entity.FoodType;
import com.oocl.o2o.client.service.FoodTypeService;

/**
 * @description: 
 * @author  XIEMI2
 * @date Aug 12, 2017 8:33:44 PM
 * @version 1.0
 */
@Repository
public class FoodTypeServiceImpl implements FoodTypeService{

	@Resource
	private FoodTypeDao foodTypeDao;
	
	@Override
	public FoodType findById(String id) {
		return foodTypeDao.findById(id);
	}

	@Override
	public List<FoodType> findAll() {
		return foodTypeDao.findAll();
	}

}


